var mapConfig={
    user:{un:'admin',ps:'123456'},
    coordinates:"geodesic",//geodesic为地理坐标系，projected为投影坐标系
    //投影配置信息
    projectConfig:{
        center: [40455552.332,2864559.725],
        spatialReference:{"wkid":4528},
        scale:288571,
        wkid: 4528,
        baseMaps: {
            "vecRestService": {
                identifier: "basevecmap",
                title:"基础矢量底图",
                name:"基础矢量底图",
               // url: "http://192.168.1.248:6080/arcgis/rest/services/bhxcvec_2000/MapServer"
                 url: "http://112.54.43.227:92/arcgis/rest/services/bhxcvec_2000/MapServer"
            },
            "imgRestService": {
                identifier: "baseimgmap",
                title:"基础影像底图",
                name:"基础影像底图",
                url: "http://112.54.43.227:92/arcgis/rest/services/bhxcvec_2000/MapServer"
            }
        }
    },
    //地理配置
    geodesicConfig:{
        center: [119.59419,25.8813],
        spatialReference:{"wkid":4326},
        zoom:2,
        scale:288571,
        wkid: 4326,
        fullextent:{
            xmax: 180.0,
            xmin: -180.0,
            ymax: 90.0,
            ymin: -90.0,
            spatialReference: "4326"
        },
        initialextent:{
            xmin: 118.98557338392155,
            ymin: 25.94577744619436,
            xmax: 119.52939662610905,
            ymax: 26.174430400295922,
            spatialReference:"4326"
        },
        tileInfo:{
            "rows": 256,
            "cols": 256,
            "compressionQuality": 0,
            "origin": { "x": -180, "y": 90 },
            "spatialReference": { "wkid": 4326 },
            "lods": [
                { "level":2, "resolution": 0.3515625, "scale": 147748796.52937502 },
                { "level":3, "resolution": 0.17578125, "scale": 73874398.264687508 },
                { "level":4, "resolution": 0.087890625, "scale": 36937199.132343754 },
                { "level":5, "resolution": 0.0439453125, "scale": 18468599.566171877 },
                { "level": 6, "resolution": 0.02197265625, "scale": 9234299.7830859385 },
                { "level": 7, "resolution": 0.010986328125, "scale": 4617149.8915429693 },
                { "level": 8, "resolution": 0.0054931640625, "scale": 2308574.9457714846 },
                { "level": 9, "resolution": 0.00274658203125, "scale": 1154287.4728857423 },
                { "level": 10, "resolution": 0.001373291015625, "scale": 577143.73644287116 },
                { "level": 11, "resolution": 0.0006866455078125, "scale": 288571.86822143558 },
                { "level": 12, "resolution":3.433227539062501E-4, "scale": 144285.9341107178},
                { "level": 13, "resolution":1.7166137695312505E-4, "scale":72142.9670553589},
                { "level": 14, "resolution": 8.583068847656253E-5, "scale": 36071.48352767945},
                { "level": 15, "resolution":4.2915344238281264E-5, "scale": 18035.741763839724},
                { "level":16, "resolution": 2.1457672119140632E-5, "scale": 9017.870881919862},
                { "level": 17, "resolution": 1.0728836059570316E-5, "scale": 4508.935440959931},
                { "level":18, "resolution": 5.364418029785158E-6, "scale":  2254.4677204799655},
                {"level": 19,"scale": 1127.2338602399827,"resolution":2.682209014892579E-6},
                {"level": 20,"scale": 563.6169301199914,"resolution": 1.3411045074462895E-6}
            ]
        },
        baseMaps: {
            "vector": {
                identifier: "vec_c",
                title:"福州天地图矢量注记",
                //  urlTemplate:"https://t0.tianditu.com/vec_c/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.14.0&LAYER=vec&matrixSet=c&TILEMATRIX={level}&TILEROW={row}&TILECOL={col}&STYLE=default&FORMAT=tiles&tk=d44bff38f95fa575ea6ec9e0fd65b43b",
                urlTemplate:"http://{subDomain}.tianditu.com/DataServer?T=vec_c&x={col}&y={row}&l={level}&tk=174705aebfe31b79b3587279e211cb9a",
                //urlTemplate:"http://t0.tianditu.com/vec_c/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&&x={col}&y={row}&l={level}&tk=d44bff38f95fa575ea6ec9e0fd65b43b",
                subDomains: ["t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7"],
                copyright: "TDT",
                maxScale:563.61693011999137,
                minScale:1154287.4728857423
            },
            "vector_anno": {
                identifier: "cva_c",
                title:"福州天地图矢量注记",
                urlTemplate:"http://{subDomain}.tianditu.com/DataServer?T=cva_c&x={col}&y={row}&l={level}&tk=174705aebfe31b79b3587279e211cb9a",
                subDomains: ["t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7"],
                copyright: "TDT",
                maxScale:563.61693011999137,
                minScale:1154287.4728857423
            },
            "image": {
                identifier: "vec_c",
                title:"福州天地图矢量注记",
                urlTemplate:"http://{subDomain}.tianditu.com/DataServer?T=img_c&x={col}&y={row}&l={level}&tk=174705aebfe31b79b3587279e211cb9a",
                subDomains: ["t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7"],
                copyright: "TDT",
                maxScale:563.61693011999137,
                minScale:1154287.4728857423
            },
            "image_anno": {
                identifier: "cva_c",
                title:"福州天地图矢量注记",
                urlTemplate:"http://{subDomain}.tianditu.com/DataServer?T=cia_c&x={col}&y={row}&l={level}&tk=174705aebfe31b79b3587279e211cb9a",
                subDomains: ["t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7"],
                copyright: "TDT",
                maxScale:563.61693011999137,
                minScale:1154287.4728857423
            },
        }
    },
    //查询图层配置
    regionLayerConfig:{
        layerUrl:'http://192.168.1.248:6080/arcgis/rest/services/fjregion/MapServer',
        layerId:"0",//查询图层ID
        regionField:'县名',//根据空间数据实际行政区划代码字段进行配置
        outFields:["FID","县名","县名编码"],
    }
};